<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="icon" type="image/x-icon" href="favicon.ico" />
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>chigraph: chi::Flags&lt; Enum &gt; Struct Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="chigraphDoxygenIcon.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">chigraph
   &#160;<span id="projectnumber">master</span>
   </div>
   <div id="projectbrief">Systems programming language written for beginners in LLVM</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('structchi_1_1Flags.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="structchi_1_1Flags-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">chi::Flags&lt; Enum &gt; Struct Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>A template class for type-safe flags.  
 <a href="structchi_1_1Flags.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="Flags_8hpp_source.html">chi/Support/Flags.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a423fb4774ea141fbdb47a78136115cdc"><td class="memItemLeft" align="right" valign="top"><a id="a423fb4774ea141fbdb47a78136115cdc"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structchi_1_1Flags.html#a423fb4774ea141fbdb47a78136115cdc">Flags</a> ()=default</td></tr>
<tr class="memdesc:a423fb4774ea141fbdb47a78136115cdc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor. <br /></td></tr>
<tr class="separator:a423fb4774ea141fbdb47a78136115cdc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab878bfabc2bcf18f92072fd9d5b60c3c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structchi_1_1Flags.html#ab878bfabc2bcf18f92072fd9d5b60c3c">Flags</a> (Enum e)</td></tr>
<tr class="memdesc:ab878bfabc2bcf18f92072fd9d5b60c3c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor from an <code>Enum</code> type.  <a href="#ab878bfabc2bcf18f92072fd9d5b60c3c">More...</a><br /></td></tr>
<tr class="separator:ab878bfabc2bcf18f92072fd9d5b60c3c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad5d95c6dd064e92a6d12046a86f3557b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structchi_1_1Flags.html#ad5d95c6dd064e92a6d12046a86f3557b">Flags</a> (const <a class="el" href="structchi_1_1Flags.html">Flags</a> &amp;fl)=default</td></tr>
<tr class="memdesc:ad5d95c6dd064e92a6d12046a86f3557b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor.  <a href="#ad5d95c6dd064e92a6d12046a86f3557b">More...</a><br /></td></tr>
<tr class="separator:ad5d95c6dd064e92a6d12046a86f3557b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1fb37156bf786b94ace60c337f2407c9"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structchi_1_1Flags.html#a1fb37156bf786b94ace60c337f2407c9">Flags</a> (<a class="el" href="structchi_1_1Flags.html">Flags</a> &amp;&amp;fl)=default</td></tr>
<tr class="memdesc:a1fb37156bf786b94ace60c337f2407c9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Move constructor.  <a href="#a1fb37156bf786b94ace60c337f2407c9">More...</a><br /></td></tr>
<tr class="separator:a1fb37156bf786b94ace60c337f2407c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af385da323047a5c2dc29be162dd647d5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structchi_1_1Flags.html">Flags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structchi_1_1Flags.html#af385da323047a5c2dc29be162dd647d5">operator &amp;</a> (const <a class="el" href="structchi_1_1Flags.html">Flags</a> &amp;rhs) const</td></tr>
<tr class="memdesc:af385da323047a5c2dc29be162dd647d5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Bitwise AND.  <a href="#af385da323047a5c2dc29be162dd647d5">More...</a><br /></td></tr>
<tr class="separator:af385da323047a5c2dc29be162dd647d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8191559b93fead009e43b6300f1383a5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structchi_1_1Flags.html">Flags</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structchi_1_1Flags.html#a8191559b93fead009e43b6300f1383a5">operator &amp;=</a> (const <a class="el" href="structchi_1_1Flags.html">Flags</a> &amp;rhs)</td></tr>
<tr class="memdesc:a8191559b93fead009e43b6300f1383a5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Bitwise AND assignment.  <a href="#a8191559b93fead009e43b6300f1383a5">More...</a><br /></td></tr>
<tr class="separator:a8191559b93fead009e43b6300f1383a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a88ae58afc2e6da613fe21851095efdde"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structchi_1_1Flags.html#a88ae58afc2e6da613fe21851095efdde">operator bool</a> () const</td></tr>
<tr class="memdesc:a88ae58afc2e6da613fe21851095efdde"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check if the flags object isn't set to zero Useful for use after a <code>&amp;</code>  <a href="#a88ae58afc2e6da613fe21851095efdde">More...</a><br /></td></tr>
<tr class="separator:a88ae58afc2e6da613fe21851095efdde"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a79539b7330a1ef1f67f0ce203edb40e1"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structchi_1_1Flags.html#a79539b7330a1ef1f67f0ce203edb40e1">operator!</a> () const</td></tr>
<tr class="memdesc:a79539b7330a1ef1f67f0ce203edb40e1"><td class="mdescLeft">&#160;</td><td class="mdescRight">See if one <a class="el" href="structchi_1_1Flags.html" title="A template class for type-safe flags. ">Flags</a> object isn't equal to the other.  <a href="#a79539b7330a1ef1f67f0ce203edb40e1">More...</a><br /></td></tr>
<tr class="separator:a79539b7330a1ef1f67f0ce203edb40e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11c8f2e11b96dce3b105a14c14870cf4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structchi_1_1Flags.html">Flags</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structchi_1_1Flags.html#a11c8f2e11b96dce3b105a14c14870cf4">operator=</a> (const <a class="el" href="structchi_1_1Flags.html">Flags</a> &amp;fl)=default</td></tr>
<tr class="memdesc:a11c8f2e11b96dce3b105a14c14870cf4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy assignment.  <a href="#a11c8f2e11b96dce3b105a14c14870cf4">More...</a><br /></td></tr>
<tr class="separator:a11c8f2e11b96dce3b105a14c14870cf4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a05670d29d9cf847897154513ddabe9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structchi_1_1Flags.html">Flags</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structchi_1_1Flags.html#a9a05670d29d9cf847897154513ddabe9">operator=</a> (<a class="el" href="structchi_1_1Flags.html">Flags</a> &amp;&amp;fl)=default</td></tr>
<tr class="memdesc:a9a05670d29d9cf847897154513ddabe9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Move assignment.  <a href="#a9a05670d29d9cf847897154513ddabe9">More...</a><br /></td></tr>
<tr class="separator:a9a05670d29d9cf847897154513ddabe9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ee1e505bf9181403ec98fdb0555230d"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structchi_1_1Flags.html#a6ee1e505bf9181403ec98fdb0555230d">operator==</a> (const <a class="el" href="structchi_1_1Flags.html">Flags</a> &amp;rhs) const</td></tr>
<tr class="memdesc:a6ee1e505bf9181403ec98fdb0555230d"><td class="mdescLeft">&#160;</td><td class="mdescRight">See if one <a class="el" href="structchi_1_1Flags.html" title="A template class for type-safe flags. ">Flags</a> object is equal to the other.  <a href="#a6ee1e505bf9181403ec98fdb0555230d">More...</a><br /></td></tr>
<tr class="separator:a6ee1e505bf9181403ec98fdb0555230d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11ee20d313c7590c6f00127d9fe35b64"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structchi_1_1Flags.html">Flags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structchi_1_1Flags.html#a11ee20d313c7590c6f00127d9fe35b64">operator|</a> (const <a class="el" href="structchi_1_1Flags.html">Flags</a> &amp;rhs) const</td></tr>
<tr class="memdesc:a11ee20d313c7590c6f00127d9fe35b64"><td class="mdescLeft">&#160;</td><td class="mdescRight">Bitwise OR.  <a href="#a11ee20d313c7590c6f00127d9fe35b64">More...</a><br /></td></tr>
<tr class="separator:a11ee20d313c7590c6f00127d9fe35b64"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b135b1d822e9d03d2ac3ceb5f2f2b19"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structchi_1_1Flags.html">Flags</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structchi_1_1Flags.html#a1b135b1d822e9d03d2ac3ceb5f2f2b19">operator|=</a> (const <a class="el" href="structchi_1_1Flags.html">Flags</a> &amp;rhs)</td></tr>
<tr class="memdesc:a1b135b1d822e9d03d2ac3ceb5f2f2b19"><td class="mdescLeft">&#160;</td><td class="mdescRight">Bitwise OR assignment.  <a href="#a1b135b1d822e9d03d2ac3ceb5f2f2b19">More...</a><br /></td></tr>
<tr class="separator:a1b135b1d822e9d03d2ac3ceb5f2f2b19"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename Enum&gt;<br />
struct chi::Flags&lt; Enum &gt;</h3>

<p>A template class for type-safe flags. </p>
<p>Usage: </p><div class="fragment"><div class="line"><span class="keyword">enum class</span> MyOpts {</div><div class="line">    First = 1u,</div><div class="line">    Second = 1u &lt;&lt; 1,</div><div class="line">    FirstAndSecond = First | Second,</div><div class="line">};</div><div class="line"></div><div class="line"><a class="code" href="structchi_1_1Flags.html">chi::Flags&lt;MyOpts&gt;</a> fl{MyOpts::First | MyOpts::Second};</div><div class="line">assert(fl &amp; MyOpts::First);</div></div><!-- fragment --> 
<p class="definition">Definition at line <a class="el" href="Flags_8hpp_source.html#l00026">26</a> of file <a class="el" href="Flags_8hpp_source.html">Flags.hpp</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ab878bfabc2bcf18f92072fd9d5b60c3c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab878bfabc2bcf18f92072fd9d5b60c3c">&#9670;&nbsp;</a></span>Flags() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Enum&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structchi_1_1Flags.html">chi::Flags</a>&lt; Enum &gt;::<a class="el" href="structchi_1_1Flags.html">Flags</a> </td>
          <td>(</td>
          <td class="paramtype">Enum&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Constructor from an <code>Enum</code> type. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">e</td><td>The enum to copy from </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="Flags_8hpp_source.html#l00034">34</a> of file <a class="el" href="Flags_8hpp_source.html">Flags.hpp</a>.</p>

<p class="reference">References <a class="el" href="structchi_1_1Flags.html#a423fb4774ea141fbdb47a78136115cdc">chi::Flags&lt; Enum &gt;::Flags()</a>, and <a class="el" href="structchi_1_1Flags.html#a11c8f2e11b96dce3b105a14c14870cf4">chi::Flags&lt; Enum &gt;::operator=()</a>.</p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Here is the call graph for this function:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><iframe scrolling="no" frameborder="0" src="structchi_1_1Flags_ab878bfabc2bcf18f92072fd9d5b60c3c_cgraph.svg" width="320" height="88"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>

</div>
</div>
<a id="ad5d95c6dd064e92a6d12046a86f3557b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad5d95c6dd064e92a6d12046a86f3557b">&#9670;&nbsp;</a></span>Flags() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Enum&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structchi_1_1Flags.html">chi::Flags</a>&lt; Enum &gt;::<a class="el" href="structchi_1_1Flags.html">Flags</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structchi_1_1Flags.html">Flags</a>&lt; Enum &gt; &amp;&#160;</td>
          <td class="paramname"><em>fl</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">default</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Copy constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fl</td><td>The <a class="el" href="structchi_1_1Flags.html" title="A template class for type-safe flags. ">Flags</a> object to copy from </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a1fb37156bf786b94ace60c337f2407c9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1fb37156bf786b94ace60c337f2407c9">&#9670;&nbsp;</a></span>Flags() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Enum&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structchi_1_1Flags.html">chi::Flags</a>&lt; Enum &gt;::<a class="el" href="structchi_1_1Flags.html">Flags</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structchi_1_1Flags.html">Flags</a>&lt; Enum &gt; &amp;&amp;&#160;</td>
          <td class="paramname"><em>fl</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">default</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Move constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fl</td><td>The <a class="el" href="structchi_1_1Flags.html" title="A template class for type-safe flags. ">Flags</a> object to move from </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="af385da323047a5c2dc29be162dd647d5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af385da323047a5c2dc29be162dd647d5">&#9670;&nbsp;</a></span>operator &()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Enum&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structchi_1_1Flags.html">Flags</a> <a class="el" href="structchi_1_1Flags.html">chi::Flags</a>&lt; Enum &gt;::operator&amp; </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structchi_1_1Flags.html">Flags</a>&lt; Enum &gt; &amp;&#160;</td>
          <td class="paramname"><em>rhs</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Bitwise AND. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">rhs</td><td>The <a class="el" href="structchi_1_1Flags.html" title="A template class for type-safe flags. ">Flags</a> object to AND with </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The new <a class="el" href="structchi_1_1Flags.html" title="A template class for type-safe flags. ">Flags</a> object </dd></dl>

<p class="definition">Definition at line <a class="el" href="Flags_8hpp_source.html#l00076">76</a> of file <a class="el" href="Flags_8hpp_source.html">Flags.hpp</a>.</p>

</div>
</div>
<a id="a8191559b93fead009e43b6300f1383a5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8191559b93fead009e43b6300f1383a5">&#9670;&nbsp;</a></span>operator &=()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Enum&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structchi_1_1Flags.html">Flags</a>&amp; <a class="el" href="structchi_1_1Flags.html">chi::Flags</a>&lt; Enum &gt;::operator&amp;= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structchi_1_1Flags.html">Flags</a>&lt; Enum &gt; &amp;&#160;</td>
          <td class="paramname"><em>rhs</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Bitwise AND assignment. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">rhs</td><td>The <a class="el" href="structchi_1_1Flags.html" title="A template class for type-safe flags. ">Flags</a> obejct to AND <code>*this</code> with </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>*this</code> </dd></dl>

<p class="definition">Definition at line <a class="el" href="Flags_8hpp_source.html#l00089">89</a> of file <a class="el" href="Flags_8hpp_source.html">Flags.hpp</a>.</p>

<p class="reference">References <a class="el" href="structchi_1_1Flags.html#a423fb4774ea141fbdb47a78136115cdc">chi::Flags&lt; Enum &gt;::Flags()</a>.</p>
<div id="dynsection-1" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-1-trigger" src="closed.png" alt="+"/> Here is the call graph for this function:</div>
<div id="dynsection-1-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-1-content" class="dyncontent" style="display:none;">
<div class="center"><iframe scrolling="no" frameborder="0" src="structchi_1_1Flags_a8191559b93fead009e43b6300f1383a5_cgraph.svg" width="332" height="38"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>

</div>
</div>
<a id="a88ae58afc2e6da613fe21851095efdde"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a88ae58afc2e6da613fe21851095efdde">&#9670;&nbsp;</a></span>operator bool()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Enum&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structchi_1_1Flags.html">chi::Flags</a>&lt; Enum &gt;::operator bool </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Check if the flags object isn't set to zero Useful for use after a <code>&amp;</code> </p>
<dl class="section return"><dt>Returns</dt><dd>true if it's not zero </dd></dl>

<p class="definition">Definition at line <a class="el" href="Flags_8hpp_source.html#l00066">66</a> of file <a class="el" href="Flags_8hpp_source.html">Flags.hpp</a>.</p>

</div>
</div>
<a id="a79539b7330a1ef1f67f0ce203edb40e1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a79539b7330a1ef1f67f0ce203edb40e1">&#9670;&nbsp;</a></span>operator!()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Enum&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="structchi_1_1Flags.html">chi::Flags</a>&lt; Enum &gt;::operator! </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>See if one <a class="el" href="structchi_1_1Flags.html" title="A template class for type-safe flags. ">Flags</a> object isn't equal to the other. </p>
<dl class="section return"><dt>Returns</dt><dd>if they are equal </dd></dl>

<p class="definition">Definition at line <a class="el" href="Flags_8hpp_source.html#l00061">61</a> of file <a class="el" href="Flags_8hpp_source.html">Flags.hpp</a>.</p>

</div>
</div>
<a id="a11c8f2e11b96dce3b105a14c14870cf4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a11c8f2e11b96dce3b105a14c14870cf4">&#9670;&nbsp;</a></span>operator=() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Enum&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structchi_1_1Flags.html">Flags</a>&amp; <a class="el" href="structchi_1_1Flags.html">chi::Flags</a>&lt; Enum &gt;::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structchi_1_1Flags.html">Flags</a>&lt; Enum &gt; &amp;&#160;</td>
          <td class="paramname"><em>fl</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">default</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Copy assignment. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fl</td><td>The <a class="el" href="structchi_1_1Flags.html" title="A template class for type-safe flags. ">Flags</a> object to copy from </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>*this</code> </dd></dl>

<p class="reference">Referenced by <a class="el" href="Flags_8hpp_source.html#l00034">chi::Flags&lt; Enum &gt;::Flags()</a>.</p>
<div id="dynsection-2" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-2-trigger" src="closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-2-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-2-content" class="dyncontent" style="display:none;">
<div class="center"><iframe scrolling="no" frameborder="0" src="structchi_1_1Flags_a11c8f2e11b96dce3b105a14c14870cf4_icgraph.svg" width="320" height="38"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>

</div>
</div>
<a id="a9a05670d29d9cf847897154513ddabe9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9a05670d29d9cf847897154513ddabe9">&#9670;&nbsp;</a></span>operator=() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Enum&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structchi_1_1Flags.html">Flags</a>&amp; <a class="el" href="structchi_1_1Flags.html">chi::Flags</a>&lt; Enum &gt;::operator= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structchi_1_1Flags.html">Flags</a>&lt; Enum &gt; &amp;&amp;&#160;</td>
          <td class="paramname"><em>fl</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">default</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Move assignment. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">The</td><td><a class="el" href="structchi_1_1Flags.html" title="A template class for type-safe flags. ">Flags</a> object to move from </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>*this</code> </dd></dl>

</div>
</div>
<a id="a6ee1e505bf9181403ec98fdb0555230d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6ee1e505bf9181403ec98fdb0555230d">&#9670;&nbsp;</a></span>operator==()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Enum&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="structchi_1_1Flags.html">chi::Flags</a>&lt; Enum &gt;::operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structchi_1_1Flags.html">Flags</a>&lt; Enum &gt; &amp;&#160;</td>
          <td class="paramname"><em>rhs</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>See if one <a class="el" href="structchi_1_1Flags.html" title="A template class for type-safe flags. ">Flags</a> object is equal to the other. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">rhs</td><td>The <a class="el" href="structchi_1_1Flags.html" title="A template class for type-safe flags. ">Flags</a> object to comare to </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>if they are equal </dd></dl>

<p class="definition">Definition at line <a class="el" href="Flags_8hpp_source.html#l00057">57</a> of file <a class="el" href="Flags_8hpp_source.html">Flags.hpp</a>.</p>

</div>
</div>
<a id="a11ee20d313c7590c6f00127d9fe35b64"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a11ee20d313c7590c6f00127d9fe35b64">&#9670;&nbsp;</a></span>operator|()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Enum&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structchi_1_1Flags.html">Flags</a> <a class="el" href="structchi_1_1Flags.html">chi::Flags</a>&lt; Enum &gt;::operator| </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structchi_1_1Flags.html">Flags</a>&lt; Enum &gt; &amp;&#160;</td>
          <td class="paramname"><em>rhs</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Bitwise OR. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">rhs</td><td>The <a class="el" href="structchi_1_1Flags.html" title="A template class for type-safe flags. ">Flags</a> object to OR with </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The new <a class="el" href="structchi_1_1Flags.html" title="A template class for type-safe flags. ">Flags</a> object </dd></dl>

<p class="definition">Definition at line <a class="el" href="Flags_8hpp_source.html#l00071">71</a> of file <a class="el" href="Flags_8hpp_source.html">Flags.hpp</a>.</p>

</div>
</div>
<a id="a1b135b1d822e9d03d2ac3ceb5f2f2b19"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1b135b1d822e9d03d2ac3ceb5f2f2b19">&#9670;&nbsp;</a></span>operator|=()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Enum&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structchi_1_1Flags.html">Flags</a>&amp; <a class="el" href="structchi_1_1Flags.html">chi::Flags</a>&lt; Enum &gt;::operator|= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structchi_1_1Flags.html">Flags</a>&lt; Enum &gt; &amp;&#160;</td>
          <td class="paramname"><em>rhs</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Bitwise OR assignment. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">rhs</td><td>The <a class="el" href="structchi_1_1Flags.html" title="A template class for type-safe flags. ">Flags</a> obejct to OR <code>*this</code> with </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>*this</code> </dd></dl>

<p class="definition">Definition at line <a class="el" href="Flags_8hpp_source.html#l00081">81</a> of file <a class="el" href="Flags_8hpp_source.html">Flags.hpp</a>.</p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>lib/support/include/chi/Support/<a class="el" href="Flags_8hpp_source.html">Flags.hpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespacechi.html">chi</a></li><li class="navelem"><a class="el" href="structchi_1_1Flags.html">Flags</a></li>
    <li class="footer">Generated on Sat Sep 16 2017 17:41:35 for chigraph by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
